package org.lboot.idmo.custom.device.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "设备新增参数")
public class FdDeviceCreateParams {
    @NotBlank(message = "设备ID不可为空")
    @ApiModelProperty(value = "设备ID")
    String deviceId;

    @NotNull(message = "用户ID不可为空")
    @ApiModelProperty(value = "用户ID")
    Long userId;
}
